OpenBuildings GenerativeComponents Help

Watches

Used to enter add watch expressions that are evaluated and return values specified. The nodes and properties of nodes can be specified in the Watches dialog, such as: Fraction(1.1), returns value = 0.1. : Double, etc.

Accessed from:


  • Ribbon: Computational Design > Model > Data > Show Watches
  • Ribbon: Computational Design > Home > Primary > Show Watches


Watches dialog is where watches are managed, refreshed, expanded to view their details or collapsed at any time. You can add watch expressions assisted with full script editor handy. It lets you enter global variables that are beyond the scope of the locals window. Nodes and properties of nodes can be specified such as: point1.X.
The Watches window is also accessible when not in debugging mode. It is useful for observing the values of an array or individual properties within an array. Watches expression can be added in the Add watch field. The window can be docked along the Node Types, used as another tab which is similar to the: Node Properties, Script Console, etc. or view using split windows. The window can be hidden, closed completely and contents cleared at any time.
SettingDescription
Watches taskbar controls Manages the watches in the list.
  • (Refresh All) — refreshed the entire list and amend the changes in affected watch details.
  • (Remove All) — clears the watches list after confirming the removal all watches from the dialog.
  • (Collapse All) — collapses the watch list that was expanded to view details.
  • (Show Types) — displays the type attribute against each objects in watches, separated by a colon.
Add watch Adds valid watches in the watches list.
  • (Open script editor) — opens the full script editor where expressions are built and edited.
  • Add watch field — valid watch items are filled; a drop-down list of available expressions is provided when a starting character of an desired expression is entered.
Key-in: GC DIALOG WATCHES SHOW